<!--{include header.html}-->

<body>
<div id='installbox'>
	<div class='msgtitle'>
		<h1 class="logo_install">安装</h1>
		<div class="version">{$sys_name} - {$sys_ver}</div>
	</div>
	<table border="0" cellpadding="0" cellspacing="0" id="table" class="table3">
		<tr>
			<td>
				<span class="install_1">1. 许可协议</span>
				<span class="install_2">2. 环境检测</span>
				<span class="install_3">3. 数据库设置</span>
				<span class="install_4">4. 安装完成</span>
			</td>
		</tr>
	</table>
  <h3> 安装设置： </h3>
  <form method="post" action="?a=setup4"  name="myform" id="myform" style="margin:0; padding:0;">
    <table border="0" cellpadding="0" cellspacing="0" id="table3">
      <input name="setup" type="hidden" value="{^setup}">
      <tr bgcolor="#F4faff">
        <td width="48%" valign="top"><b> 安装目录 </b> <br>
          <font color="#666666"> 自动检测一般不需要修改,结尾必需加斜杆 '/' </font></td>
        <td><input type="text" name="con[web_path]" id="web_path" value="/"
            maxlength="50" style="width:250px;">
          * </td>
      </tr>
      <tr class="firstalt">
        <td width="48%" valign="top" bgcolor="#FFFFFF"><b> 数据库服务器地址 </b> <br>
          <font color="#666666"> 一般为localhost </font></td>
        <td bgcolor="#FFFFFF"><input type="text" name="con[host]" id="host" value="localhost"
            maxlength="50" style="width:250px;">
          * </td>
      </tr>
      <tr bgcolor="#F4faff">
        <td width="48%"><b> 数据库端口 </b> <br>
          一般为3306<br></td>
        <td><input type="text" name="con[port]" id="port" value="3306" maxlength="50"
            style="width:250px;">
          * </td>
      </tr>
      <tr class="firstalt">
        <td width="48%"><b> 数据库用户名 </b> <br>
          <font color="#666666"> 一般为root </font> <br></td>
        <td><input type="text" name="con[user]" id="user" value="root" maxlength="50"
            style="width:250px;">
          * </td>
      </tr>
      <tr bgcolor="#F4faff">
        <td width="48%" bgcolor="#F4faff"><b> 数据库密码 </b> <br>
          密码不能设为空 <br></td>
        <td bgcolor="#F4faff"><input type="password" name="con[pass]" id="pass" maxlength="50" style="width:250px;"></td>
      </tr>
      <tr class="firstalt">
        <td width="48%"><b> 数据库名称 </b> <br>
          <font color="#666666"> 请填写数据库名 </font> <br></td>
        <td bgcolor="#FFFFFF"><input type="text" name="con[dbname]" id="dbname" value="tutucms" maxlength="50"
            style="width:250px;">
          * </td>
      </tr>
      <tr bgcolor="#F4faff" class="firstalt">
        <td width="48%"><p> <b> 数据库表前缀 </b> <br>
            <font color="#666666"> 一般不用修改 </font> <br>
          </p></td>
        <td><input type="text" name="con[db_table_prefix]" id="db_table_prefix" value="tutu_" maxlength="50"
            valid="required" style="width:250px;">
          * </td>
      </tr>
    </table>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
      <tr bgcolor="#FFFFFF" class="tb_head">
        <td height="70" colspan="3" align="center">
		<input type="button" class="btn" value="<< 上一步" onClick="history.back();" />
		<input type="submit" name="submit" value="下一步 >>" class="btn" id="submit" style="margin-left:10px;">
		</td>
      </tr>
    </table>
  </form>
</div>
</div>
</body>
</html>